<%if pagetype=[POS]%>
<%= include("poshead.html")%>
<%endif%>
<%if pagetype=[A4]%>
<%= include("A4head.html")%>
<%endif%>
<%if pagetype=[A5]%>
<%= include("p5head.html")%>
<%endif%>
<%if pagetype=[LE]%>
<%= include("A4head.html")%>
<%endif%>
Payment Voucher
| Received | <> <int(searchresults.amount),round(searchresults.amount,2),round(searchresults.amount,0))>> (<>) |
| From | AC: <> Name <> |
<%if not empty(searchresults.checkno)%>
| Cheaque# | <> | Date | <> |
<%endif%>
<%if not empty(searchresults.name)%>
| Payer | <> |
<%endif%>
<%if not empty(searchresults.desc) and not (allt(searchresults.desc)==allt(searchresults.name)) and not (allt(searchresults.desc)==[FROM ]+allt(searchresults.name))%>
| details | <> |
<%endif%>
<%if not empty(openingbalance) and empty(xcompany.hideopbill)%>
| Opening | <> |
<%if not empty(nvl(closing.debits,0))%>
| Add Debits | <> |
<%endif%>
<%if not empty(nvl(closing.Credits,0))%>
| Less Credits | <> |
<%endif%>
| Closing Balance | <> |
 |
<%else%>
This computer genated document needs no signatures
<%endif%>